﻿<Window x:Class="BugLister.Dialogs.AddBugDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="AddBugDialog" Height="251" Width="412">
    <Grid>
        <Grid.RowDefinitions>
            
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            
        </Grid.RowDefinitions>
        <StackPanel>
            <Label>Short Description:</Label>
            <TextBox Margin="3" Name="shortDescText" />
            <Label>Long Description:</Label>
            <TextBox Margin="3" Name="longDescText" />
            <Grid >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                
                <Label>Importance</Label>
                <ComboBox Name="importanceCombo" Grid.Row="1"/>
                
                <Label Grid.Column="1">Importance</Label>
                <ComboBox Name="typeCombo" Grid.Column="1" Grid.Row="1"/>
            </Grid>
        </StackPanel>
        <DockPanel Grid.Row="1" LastChildFill="True">
            <Label Name="warningLabel" FontSize="10" Foreground="Red" />
            <StackPanel Grid.Row="1" Orientation="Horizontal" FlowDirection="RightToLeft">
                <Button Name="AddBtn" IsDefault="True" Click="AddBtn_Click">Add</Button>
                <Button Name="CancelBtn" IsCancel="True" Click="CancelBtn_Click">Cancel</Button>
            </StackPanel>
        </DockPanel>
    </Grid>
</Window>
